import axios from "./plugins/axios.js";

export const applyResource = async dbMode => {
    const result = await axios.get(`/api/applyResource/${dbMode}`);
    return result.data;
}

export const executeSql = async params => {
    const result = await axios.post(`/api/executeSql`, params);
    return result.data;
}